package com.migu.contacts.bean;

import android.text.TextUtils;

public class EventBean {
    public int id;
    public int type;
    public String name;
    public String content;
    public int timeType;
    public int hour;
    public int status;
    public String startTime;
    public String endTime;

    public String getTimeShow() {
        if (!TextUtils.isEmpty(startTime) && !TextUtils.isEmpty(endTime)) {
            return startTime.split(" ")[1].substring(0, 5) + "-" + endTime.split(" ")[1].substring(0, 5);
        }
        return "";
    }
}
